﻿using NUnit.Framework;
using TestEntryPoint;

namespace ComponentLoader.Tests
{
    [TestFixture]
    public class testComponentLoader
    {
        [Test]
        public void load_all_components() {
            var sut = new StructureMapComponentLoader<ITestEntryPoint>();

            sut.Load(true);
            var c = sut.InstanciateEntryPoint();

            Assert.AreEqual(10, c.DoTheMath(2, 3));
        }
    }
}